[@com.header _title="修改密码"]
<link rel="stylesheet" href="${base}/res/components/bootstrapvalidator/dist/css/bootstrapValidator.css"/>
[/@com.header]
[@com.body]
<section class="content container-fluid">
    <div class="box box-info">
        <form id="form-password" class="form-horizontal" action="savePassword" onsubmit="return false" autocomplete="off">
            <div class="hidden">
                <input type="password" />
            </div>
            <div class="box-header with-border">
                <button type="submit" class="btn btn-info"><i class="fa fa-save"></i> 保存</button>
            </div>
            <div class="box-body">
                <div class="form-group">
                    <label class="col-sm-2 control-label">旧密码</label>
                    <div class="col-sm-4">
                        <input class="form-control" name="oldPassword" id="oldPassword" placeholder="请输入旧密码" type="password"
                            required />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">新密码</label>
                    <div class="col-sm-4">
                        <input class="form-control" name="newPassword" id="newPassword" placeholder="请输入新密码" type="password"
                            required data-bv-identical data-bv-identical-field="repeatPassword" data-bv-identical-message="密码不一致"
                            minlength="6"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">确认密码</label>
                    <div class="col-sm-4">
                        <input class="form-control" name="repeatPassword" id="repeatPassword" placeholder="请重新输入密码" type="password"
                            data-bv-identical data-bv-identical-field="newPassword" data-bv-identical-message="密码不一致"
                            minlength="6"/>
                    </div>
                </div>
            </div>
        </form>
    </div>
</section>
[/@com.body]
<script type="text/javascript" src="${base}/res/components/bootstrapvalidator/dist/js/bootstrapValidator.js"></script>
<script type="text/javascript" src="${base}/res/components/bootstrapvalidator/dist/js/language/zh_CN.js"></script>
<script type="text/javascript" src="${base}/res/plugins/jquery.md5.min.js"></script>
<script type="text/javascript" src="${base}/res/js/index.js"></script>
